package demo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86131
 * Date: 2023-11-29
 * Time: 0:08
 */
public class Card {
    public String suit; //花色
    public int num;//数字

    public Card(String suit, int num) {
        this.suit = suit;
        this.num = num;
    }

    @Override
    public String toString() {
        /*return "Card{" +
                "suit='" + suit + '\'' +
                ", num=" + num +
                '}';*/
        return suit+""+num;
    }


}
